home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / rawtopgm.1 < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      rrrraaaawwwwttttooooppppggggmmmm((((1111))))      XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11115555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 88889999))))      rrrraaaawwwwttttooooppppggggmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           rawtopgm - convert raw grayscale bytes into a portable
  10.           graymap
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           rrrraaaawwwwttttooooppppggggmmmm [----hhhheeeeaaaaddddeeeerrrrsssskkkkiiiipppp _N] [----rrrroooowwwwsssskkkkiiiipppp _N] _w_i_d_t_h _h_e_i_g_h_t
  14.           [_i_m_a_g_e_d_a_t_a]
  15.  
  16.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.           Reads raw grayscale bytes as input.  Produces a portable
  18.           graymap as output.  The input file is just grayscale bytes.
  19.           You have to specify the width and height on the command
  20.           line, since the program obviously can't get them from the
  21.           file.  The maxval is assumed to be 255.  If the resulting
  22.           image is upside down, run it through ppppnnnnmmmmfffflllliiiipppp ----ttttbbbb ....
  23.  
  24.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  25.           ----hhhheeeeaaaaddddeeeerrrrsssskkkkiiiipppp
  26.                If the file has a header, you can use this flag to skip
  27.                over it.
  28.  
  29.           ----rrrroooowwwwsssskkkkiiiipppp
  30.                If there is padding at the ends of the rows, you can
  31.                skip it with this flag.  Note that rowskip can be a
  32.                real number.  Amazingly, I once had an image with 0.376
  33.                bytes of padding per row.  This turned out to be due to
  34.                a file-transfer problem, but I was still able to read
  35.                the image.
  36.  
  37.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  38.           pgm(5), rawtoppm(1), pnmflip(1)
  39.  
  40.      AAAAUUUUTTTTHHHHOOOORRRR
  41.           Copyright (C) 1989 by Jef Poskanzer.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.